package com.gdpu.project.vo;

import java.util.Date;

/**
 * News entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class News implements java.io.Serializable {

	// Fields

	private Integer newsId;
	private String newsType;
	private String newsTitle;
	private String newsInfo;
	private Date fbTime;
	private Integer clickRate;

	// Constructors

	/** default constructor */
	public News() {
	}

	/** full constructor */
	public News(String newsType, String newsTitle, String newsInfo,
			Date fbTime, Integer clickRate) {
		this.newsType = newsType;
		this.newsTitle = newsTitle;
		this.newsInfo = newsInfo;
		this.fbTime = fbTime;
		this.clickRate = clickRate;
	}

	// Property accessors

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public String getNewsType() {
		return this.newsType;
	}

	public void setNewsType(String newsType) {
		this.newsType = newsType;
	}

	public String getNewsTitle() {
		return this.newsTitle;
	}

	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}

	public String getNewsInfo() {
		return this.newsInfo;
	}

	public void setNewsInfo(String newsInfo) {
		this.newsInfo = newsInfo;
	}

	public Date getFbTime() {
		return this.fbTime;
	}

	public void setFbTime(Date fbTime) {
		this.fbTime = fbTime;
	}

	public Integer getClickRate() {
		return this.clickRate;
	}

	public void setClickRate(Integer clickRate) {
		this.clickRate = clickRate;
	}

}